package org.poem.payment.service;

import org.poem.payment.entity.Payment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author poem
 * @since 2021-04-05
 */
public interface IPaymentService extends IService<Payment> {

    /**
     * 创建
     * @param payment
     * @return
     */
    public int create(Payment payment);

    /**
     * 根据id查询数据
     * @param id id
     * @return 数据
     */
    public Payment getPaymentById(Long id);
}
